#include <bits/stdc++.h>
using namespace std;
int main() {
	double t;
	double n;
	cin >> t >> n;
	printf("%.3lf\n", t / n);
	cout << n * 2;
	return 0;
}
